It is the responsibility of the BatchJob to declare what class defines the ThreadWorkers that should perform the work. By returning a Class instance rather than ThreadWorker instances, the framework controls ThreadWorker instantiation which may occur on a different JVM than the one that the BatchJob instance resides.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Documentation build: 12.7.2016 11:59:39 [SDK_1481129979000]